In [8]:
from IPython.html.services.config import ConfigManager
from IPython.utils.path import locate_profile
cm = ConfigManager(profile_dir=locate_profile(get_ipython().profile))
cm.update('livereveal', {
'theme': 'sky',
'transition': 'zoom',
'start_slideshow_at': 'selected'
})
cm.get('livereveal')
Out[8]:
In [2]:
from numpy import *
from os import path, listdir
from bokeh.plotting import figure, output_notebook, show
from myfunctions import analyze, plotS21
In [3]:
output_notebook()
Let's step through each iteration of wafers and analyze the relevant data
In [4]:
fullpath = "/Users/calebhowington/Development/Data/jpmqubit/jpmqubitv1/"
listdir(fullpath)
Out[4]:
In [5]:
results = analyze(path.join(fullpath, '5GHz_Cavity.s2p'))
In [6]:
results = analyze(path.join(fullpath, '5GHz_Cavity_cold.s2p'))
In [7]:
files = [ '7GHz Cavity from 6.45 to 6.95.s2p',
'7GHz Cavity from 6.65 to 6.75.s2p',
'7GHz Cavity from 6.75 to 7.25.s2p']
results = []
for f in files:
fig, x, y = plotS21(path.join(fullpath, f))
show(fig)
In [8]:
result = analyze(path.join(fullpath, '5GHz_Cavity Through 7GHz Cavity.s2p'))
In [9]:
fullpath = "/Users/calebhowington/Development/Data/jpmqubit/jpmqubitv4/"
listdir(fullpath)
Out[9]:
In [10]:
files = [
'5 GHz Cavity -30dB 10MHz span.s2p',
'5 GHz Cavity -40dB 500kHz span.s2p',
'5 GHz Cavity -50dB 500kHz span.s2p',
'5 GHz Cavity -60dB 500kHz span.s2p',
'5 GHz Cavity -65dB 500kHz span.s2p',
'5 GHz Cavity -70dB 500kHz span.s2p']
powers = [-30, -40, -50, -60, -65, -70]
results = []
for f in files:
results.append(analyze(path.join(fullpath, f)))
In [11]:
for i, result in enumerate(results):
result['power'] = float(powers[i])
print(str(powers[i]) + "dBm\t" + "Q = " + str(result['Q']))
f0, q, power = [], [], []
for result in results:
f0.append(result['f0']*1e-9)
q.append(result['Q'])
power.append(result['power'])
qfig = figure(
title="Q vs power",
x_axis_label = "Power (dBm)",
y_axis_label = "Q")
f0fig = figure(
title = "Resonance vs Power",
x_axis_label = "Power (dBm)",
y_axis_label = "F0 (GHz)")
qfig.scatter(power, q)
f0fig.scatter(power, f0)
show(qfig)
show(f0fig)
In [ ]: